package cn.dlc.com.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("sys_login")
public class SysLoginLog {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String username;

    @TableField("token")
    private String token;

    @TableField("login_time")
    private Date loginDate;

    @TableField("logout_time")
    private Date logoutDate;

    private Integer invalid;
}
